from functools import lru_cache
import os

@lru_cache
def get_project_base_directory():
    project_dir = os.path.abspath(
        os.path.join(
            os.path.dirname(os.path.realpath(__file__)),
            os.pardir,
        )
    )
    return project_dir